import java.awt.Dimension;
import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.SlickException;

public class Main {

	public static void main(String[] args) {
		AppGameContainer game;
		DerpFighter f = new DerpFighter("Derp fighter, le jeu des bonhommes.");
		Dimension d = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
   

		try {
			//game = new AppGameContainer(f, 1280, 720, false);
			game = new AppGameContainer(f, 1600, 900, false);
			//game = new AppGameContainer(f, (int) d.getWidth(), (int) d.getHeight(), false);
			//game.setVSync(true);
			//game.setMaximumLogicUpdateInterval(5);
			game.setVerbose(true);
			//game.setFullscreen(true);
			game.setTargetFrameRate(100);
			game.start();
		} catch (SlickException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
